package com.smart.service;

import java.sql.SQLException;

import com.smart.dao.UserPaymentRecordDAO;

public class UserPaymentRecordService {
	static UserPaymentRecordDAO userPaymentRecordDAO = null;

	static {
		userPaymentRecordDAO = new UserPaymentRecordDAO();
	}
	 public int isPayed(String date,int houseId) throws SQLException
	 {
		 return userPaymentRecordDAO.isPayed(date, houseId);
	 }
}
